package com.pervasa.demo.kitsample.impl;

public class EventBefore extends EventTree {
	public EventBefore(EventTree ltree, EventTree rtree, int seconds)
	{
		lchild = ltree;
		rchild = rtree;
		this.seconds = seconds;
	}
	
	EventTree lchild = null;
	EventTree rchild = null;
	int seconds = 0;
	TRUTH truth = TRUTH.UNKNOWN;
	
	//evaluate for profiling
	@Override
	public TRUTH evaluate() throws NoChildrenException {
		return truth;
	}
	
	public void setTruth(TRUTH myTruth)
	{
		this.truth = myTruth;
	}
	
	//real evaluation 
	//run on push mode
}
